You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > NegBinomPDF Method > Probabilities.NegBinomPDF Method ([In] TMtxVecInt, double, double, [In] TDenseMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.NegBinomPDF Method ([In] TMtxVecInt, double, double, [In] TDenseMtxVec)

Negative binomial distribution PDF (vectorized).

Syntax
C#
Visual Basic
public static void NegBinomPDF([In] TMtxVecInt X, double R, double P, [In] TDenseMtxVec Res);
Parameters 
Description 
[In] TMtxVecInt X 
Defines distribution domain, vector or matrix with integer values. 
double R 
Defines number of successes, positive integer. 
double P 
Defines probability of each trial, real value on closed interval [0,1]. 
[In] TDenseMtxVec Res 
After calculation stores the PDF calculated from X, R and P Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. 
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!